﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JA.Negocios
{
    public class AreaComumVO
    {
        protected AreaComumVO() { }

        public static AreaComumVO CreateAreaComumVO()
        {
            AreaComumVO areaComum = new AreaComumVO();
            return areaComum;
        }
        public static AreaComumVO CreateAreaComumVO(int idAreaComum, string areaComum)
        {
            AreaComumVO obj = CreateAreaComumVO();
            obj.idAreaComum = idAreaComum;
            obj.areaComum = areaComum;
            return obj;
        }

        public int idAreaComum
        {
            get { return this._idAreaComum; }
            set { this._idAreaComum = value; }
        }
        private int _idAreaComum;

        public string areaComum
        {
            get { return this._areaComum; }
            set { this._areaComum = value; }
        }
        private string _areaComum;

        public DateTime cadastro
        {
            get { return this._Cadastro; }
            set { this._Cadastro = value; }
        }
        private DateTime _Cadastro;

        public string cadastradoPor
        {
            get { return this._CadastradoPor; }
            set { this._CadastradoPor = value; }
        }
        private string _CadastradoPor;

        public DateTime edicao
        {
            get { return this._Edicao; }
            set { this._Edicao = value; }
        }
        private DateTime _Edicao;

        public string editadoPor
        {
            get { return this._EditadoPor; }
            set { this._EditadoPor = value; }
        }
        private string _EditadoPor;

        public override string ToString()
        {
            return this.areaComum;
        }
    }
}
